#pragma once
#include "rpcprovider.h"
#include "rpcconfig.h"
#include "rpcchannel.h"
#include "rpccontroller.h"

// rpc框架的基础类
class RpcApplication
{
public:
    static void Init(int argc, char** argv);
    static RpcApplication& GetInstance();
    static RpcCofig& GetConfig();

private:
    static RpcCofig m_config;
    RpcApplication();
    RpcApplication(const RpcApplication&) = delete;
    RpcApplication(RpcApplication&&) = delete;
};